#include<stdio.h>
#include<time.h>
#include<stdlib.h>
int main()
{
    srand(time(NULL));

    int n = rand()%100 + 1;
    int guess,times = 0;

    while(scanf("%d",&guess)!=101){
        if(guess>n){
            printf("too large\n");
        }
        if(guess<n){
            printf("too small\n");
        }
        times++;
        if(guess==n){
            printf("%d times\n",times);
            printf("do you wanna play again?");
            break;
        }
    }

    return 0;
}